package mythread.demo001;

public class MyThread14_3Test extends Thread {

    public static void main(String[] args) {
        //suspend独占
        
        try {
              MyThread14_3 myThread143 = new MyThread14_3();
            myThread143.start();
            Thread.sleep(1000);
            myThread143.suspend();//resume,suspend不同步
            System.out.println("main_end");

        } catch (InterruptedException e) {
            e.printStackTrace();
        }

    }
}
